
public class Arete {
	private int _numSom;
	private int _numVoi;
	private int _distance;
	

	public Arete()
	{
		_numSom = 0;
		_numVoi=0;
		_distance=0;
		}
	public Arete(int numSom,int numVoi, int dist)
	{
		_numSom = numSom;
		_numVoi = numVoi;
		_distance = dist;
	}
	public int get_numSom() {
		return _numSom;
	}
	public void set_numSom(int _numSom) {
		this._numSom = _numSom;
	}
	public int get_numVoi() {
		return _numVoi;
	}
	public void set_numVoi(int _numVoi) {
		this._numVoi = _numVoi;
	}
	public int get_distance() {
		return _distance;
	}
	public void set_distance(int _distance) {
		this._distance = _distance;
	}
	@Override
	public String toString() {
		return "[_numSom=" + _numSom + ", _numVoi=" + _numVoi
				+ ", _distance=" + _distance + "]\n";
	}
	
}
